//
//  SWRequestAPI.swift
//  BaseDemo
//
//  Created by linhan on 16/2/25.
//  Copyright © 2016年 me. All rights reserved.
//

import Foundation
enum SWRequestAPI:String
{
    case None = ""
    
    case RequestKeyFetch = "/common/request_code/"
    
    case Login = "/login/loginAjax"
    case Register = "/login/registerAjax"
    case PasswordReset = "/user/updatePwd"
    case SSOLogin = "/login/otherLogin"
    case FetchUploadToken = "/upload/getUploadToken"
    case FetchVerifyCode = "/sms/sendMsg"
    case Logout = "/login/outLogin"
    
    
    case ModifyUserInfo = "/user/updateUserInfo"
    case MineInfoFetch = "/user/myself/"
    case JoinFamily = "/user/family/join/"
    case FamilyInvite = "/user/invite/"
    case InvitationFetch = "/user/received_invites/"
    case InvitationHandle = "/user/treat_invite/"
    case LoginInfoFetch = "/login/getuser"
    
    
    case AddChild = "/user/addChildInfo"
    case ChildrenFetch = "/baby/babies/"
    case ModifyChildInfo = "/baby/modify/"
    //阶段列表
    case StagesFetch = "/index/getTimelist"
    //事件列表
    case EventsFetch = "/index/bigCaselist"
    //事件详情
    case EventDetailFetch = "/index/eventDetail"
    //事件总览
    case StageSummaryFetch = "/index/getStageInfo"
    
    //收藏的事件列表
    case FavoriteEventsFetch = "/index/getCollectlist"
    case LikeKidEvent = "/index/addCollect"
    case DislikeKidEvent = "/index/delCollect"
    
    //音乐列表
    case MusicsFetch = "/music/list"
    //音乐分类列表
    case MusicCategoryFetch = "/music/musictypelist"
    //诗歌列表
    case PoetriesFetch = "/read/list"
    //诗歌分类列表
    case PoetryCategoryFetch = "/read/readtypelist"
    
    //主页今日内容
    case TodayContentFetch = "/index/mainInfo"
    
    case BookListFetch = "/index/aa"
    case BookTemplateFetch = "/index/b"
    
    case RegionFetch = "/region/getlist"
    case AddresseeInfoFetch = "/user/getUserAddress"
    case AddressCreate = "/user/addOrEditAddr"
    
    
    //意见反馈
    case Feedback = "/user/addResponses"
    
}
